const user = { name: "张三", age: 20 };
const str = JSON.stringify(user);
console.log(str);

const objJson = JSON.parse(str);
console.log(objJson);
